/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package bpmlab.shift.dao;

import bpmlab.shift.dao.service.CaracterizacaoDAO;
import bpmlab.shift.dao.service.CardapioDAO;
import bpmlab.shift.dao.service.EnriquecimentoDAO;
import bpmlab.shift.dao.service.EtapaDAO;
import bpmlab.shift.dao.service.GenericDAO;
import bpmlab.shift.dao.service.LocalizacaoDAO;
import bpmlab.shift.dao.service.UsuarioDAO;

/**
 *
 * @author Mikael Lima
 */
public class DAOFactory {
    
    public static GenericDAO criarGenericDAO(Class<?> clazz) {
        return new GenericDAOJpa(clazz);
    }
    
    public static UsuarioDAO criarUsuarioDAO() {
        return new UsuarioDAOJpa();
    }
    
    public static LocalizacaoDAO criarLocalizacaoDAO() {
        return new LocalizacaoDAOJpa();
    }
    
    public static CardapioDAO criarCardapioDAO() {
        return new CardapioDAOJpa();
    }
    
    public static EtapaDAO criarEtapaDAO() {
        return new EtapaDAOJpa();
    }
    
    public static CaracterizacaoDAO criarCaracterizacaoDAO() {
        return new CaracterizacaoDAOJpa();
    }
    
    public static EnriquecimentoDAO criarEnriquecimentoDAO() {
        return new EnriquecimentoDAOJpa();
    }
}
